package com.lebang.feign.fallback;

import com.lebang.feign.CencesHundredPointFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;

/**
 * @author ljx
 */
@Component
public class CencesHundredPointFallback implements CencesHundredPointFeign {
    @Override
    public JsonData selectData(RequestUserInfo userInfo, Integer page, Integer limit, String appStore, Integer star, Integer end) {
        return FAIL_JSON;
    }

    @Override
    public JsonData starDataInit(RequestUserInfo userInfo, LocalDateTime end, String activeUserCount, String appStore) {
        return FAIL_JSON;
    }

    @Override
    public JsonData deleteById(Integer id) {
        return FAIL_JSON;
    }
}
